// Copyright (c) 2025 The Msp Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#include <unordered_map>
#include "value.h"

namespace msp{
class Data{
public:
    int ParseData(uint8_t* data,int len);

    const Value* FindValue(uint32_t id);
    const Value* GetValue(int index);
private:
    std::unordered_map<uint32_t,Value> id_map;
};

};